﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Linq;

using ProjectBase.Core;

namespace $safeprojectname$.Services.HowTos
{
    /// <summary>Filter container for SimpleEntity Find()</summary>
    [Serializable]
    public class SimpleEntityFilter : Filter<string>
    {
        public virtual string IdLike { get; set; }
        public virtual string IdExact { get; set; }
        public virtual IList<string> IDs { get; set; }

        public virtual string NaturalKeySearch { get; set; } // exact match
        public virtual string NaturalKey { get; set; } // like expression
        public virtual string DescriptionSearch { get; set; } // exact match
        public virtual string Description { get; set; } // like expression

        public virtual int? RealValueFrom { get; set; }
        public virtual int? RealValueTo { get; set; }

        public virtual bool? IsVisible { get; set; }

        public override void SetIdSearch(string idSearch)
        {
            IdExact = idSearch;
        }
    }
}

